﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace JuniorProject.Models.Employee
{
    public class EmployeeJobModel
    {
        [DataType(DataType.Text)]
        [Display(Name = "JobID")]
        public int JobID { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Job Title")]
        public string Title { get; set; }

        [DataType(DataType.MultilineText)]
        [Display(Name = "Job Description")]
        public string Description { get; set; }

        [DataType(DataType.Text)]
        [Display(Name="Creation Date")]
        public System.DateTime InsertDate { get; set; }

        public EmployeeJobModel(int JobID, string Title, string Description,
                    System.DateTime InsertDate)
        {
            this.JobID = JobID;
            this.Title = Title;
            this.Description = Description;
            this.InsertDate = InsertDate;
        }
    }
}